[INFO] cloning repository https://github.com/minus3theta/oreilly-concurrent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minus3theta/oreilly-concurrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminus3theta%2Foreilly-concurrent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminus3theta%2Foreilly-concurrent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2c01778efe0ed25740abb77118540d29165f3d02
[INFO] fixing minus3theta/oreilly-concurrent against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminus3theta%2Foreilly-concurrent" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/minus3theta/oreilly-concurrent
[INFO] finished tweaking git repo https://github.com/minus3theta/oreilly-concurrent
[INFO] tweaked toml for git repo https://github.com/minus3theta/oreilly-concurrent written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/minus3theta/oreilly-concurrent on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/minus3theta/oreilly-concurrent already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4fb5301b66c1ecf0f1ee2a8c5a1eecae288f7836541f413bd4aad23192d26449
[INFO] running `Command { std: "docker" "start" "4fb5301b66c1ecf0f1ee2a8c5a1eecae288f7836541f413bd4aad23192d26449", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4fb5301b66c1ecf0f1ee2a8c5a1eecae288f7836541f413bd4aad23192d26449" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4fb5301b66c1ecf0f1ee2a8c5a1eecae288f7836541f413bd4aad23192d26449", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4fb5301b66c1ecf0f1ee2a8c5a1eecae288f7836541f413bd4aad23192d26449" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   tokio v1.11.0 removed features: winapi
[INFO] [stderr] 
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking instant v0.1.10
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]     Checking slab v0.4.4
[INFO] [stderr]     Checking futures-io v0.3.17
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling tokio v1.11.0
[INFO] [stderr]    Compiling anyhow v1.0.43
[INFO] [stderr]    Compiling signal-hook v0.3.10
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking nix v0.22.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]     Checking futures-executor v0.3.17
[INFO] [stderr]     Checking futures v0.3.17
[INFO] [stderr]     Checking oreilly-concurrent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c5_scheduling.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c4_membarrier.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c3_channel.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c3_barrier.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c4_signal.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c7_mcslock.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c3_rwlock.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c3_semaphore.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c7_fairlock.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c4_banker.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c3_mutex.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c5_async_io.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c5_tokio.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c7_stm.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/bin/c3_condvar.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.24s
[INFO] [stderr] crater-edition-check: oreilly-concurrent v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling tokio v1.11.0
[INFO] [stderr]     Checking oreilly-concurrent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/fair_lock.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lock(&self, idx: usize) -> FairLockGuard<T> {
[INFO] [stdout]    |                 ^^^^^                 ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lock(&self, idx: usize) -> FairLockGuard<'_, T> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mcs_lock.rs:63:60
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn lock<'a>(&'a self, node: &'a mut MCSNode<T>) -> MCSLockGuard<T> {
[INFO] [stdout]    |                      --              --                    ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |               |
[INFO] [stdout]    |                      |               the lifetime is named here
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn lock<'a>(&'a self, node: &'a mut MCSNode<T>) -> MCSLockGuard<'a, T> {
[INFO] [stdout]    |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 unsafe { CNT.fetch_add(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 let n = unsafe { CNT.load(Ordering::SeqCst) };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 unsafe { CNT.fetch_sub(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bin/c5_async_io.rs:147:15
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn accept(&self) -> Accept {
[INFO] [stdout]     |               ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn accept(&self) -> Accept<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bin/c5_async_io.rs:207:18
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn read_line(&mut self) -> ReadLine {
[INFO] [stdout]     |                  ^^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn read_line(&mut self) -> ReadLine<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/c4_membarrier.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn lock(&self) -> SpinLockGuard<T> {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn lock(&self) -> SpinLockGuard<'_, T> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bin/c5_async_io.rs:147:15
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn accept(&self) -> Accept {
[INFO] [stdout]     |               ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn accept(&self) -> Accept<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bin/c5_async_io.rs:207:18
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn read_line(&mut self) -> ReadLine {
[INFO] [stdout]     |                  ^^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn read_line(&mut self) -> ReadLine<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 unsafe { CNT.fetch_add(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 let n = unsafe { CNT.load(Ordering::SeqCst) };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 unsafe { CNT.fetch_sub(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/fair_lock.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lock(&self, idx: usize) -> FairLockGuard<T> {
[INFO] [stdout]    |                 ^^^^^                 ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lock(&self, idx: usize) -> FairLockGuard<'_, T> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mcs_lock.rs:63:60
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn lock<'a>(&'a self, node: &'a mut MCSNode<T>) -> MCSLockGuard<T> {
[INFO] [stdout]    |                      --              --                    ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |               |
[INFO] [stdout]    |                      |               the lifetime is named here
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn lock<'a>(&'a self, node: &'a mut MCSNode<T>) -> MCSLockGuard<'a, T> {
[INFO] [stdout]    |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/c4_membarrier.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn lock(&self) -> SpinLockGuard<T> {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn lock(&self) -> SpinLockGuard<'_, T> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.85s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   tokio v1.11.0 removed features: winapi
[INFO] [stderr] 
[INFO] [stderr]     Checking oreilly-concurrent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/scheduling.rs:48:30
[INFO] [stdout]    |
[INFO] [stdout] 48 |         while let Ok(task) = self.receiver.recv() {
[INFO] [stdout]    |                      ----    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                      |       |
[INFO] [stdout]    |                      |       this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                      |       up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                      `task` calls a custom destructor
[INFO] [stdout]    |                      `task` will be dropped later as of Edition 2024
[INFO] [stdout] 49 |             let mut future = task.future.lock().unwrap();
[INFO] [stdout]    |                 ----------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `future` calls a custom destructor
[INFO] [stdout]    |                 `future` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 53 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout]    = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `task` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout]    = note: `task` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `future` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/tl2.rs:265:19
[INFO] [stdout]     |
[INFO] [stdout] 265 |             match f(&mut tr) {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 273 |                 STMResult::Ok(val) => {
[INFO] [stdout]     |                               ---
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               `val` calls a custom destructor
[INFO] [stdout]     |                               `val` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 281 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/scheduling.rs:48:30
[INFO] [stdout]    |
[INFO] [stdout] 48 |         while let Ok(task) = self.receiver.recv() {
[INFO] [stdout]    |                      ----    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                      |       |
[INFO] [stdout]    |                      |       this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                      |       up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                      `task` calls a custom destructor
[INFO] [stdout]    |                      `task` will be dropped later as of Edition 2024
[INFO] [stdout] 49 |             let mut future = task.future.lock().unwrap();
[INFO] [stdout]    |                 ----------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `future` calls a custom destructor
[INFO] [stdout]    |                 `future` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 53 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout]    = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `task` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout]    = note: `task` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `future` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/tl2.rs:265:19
[INFO] [stdout]     |
[INFO] [stdout] 265 |             match f(&mut tr) {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 273 |                 STMResult::Ok(val) => {
[INFO] [stdout]     |                               ---
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               `val` calls a custom destructor
[INFO] [stdout]     |                               `val` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 281 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin/c5_tokio.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c7_mcslock.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c3_condvar.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c4_signal.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c5_async_io.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c7_stm.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/bin/c7_stm.rs (3 fixes)
[INFO] [stderr]    Migrating src/bin/c3_barrier.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c5_scheduling.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c7_fairlock.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c3_mutex.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c3_semaphore.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/c3_channel.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 unsafe { CNT.fetch_add(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 let n = unsafe { CNT.load(Ordering::SeqCst) };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 unsafe { CNT.fetch_sub(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin/c3_rwlock.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 unsafe { CNT.fetch_add(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 let n = unsafe { CNT.load(Ordering::SeqCst) };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin/c4_banker.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 unsafe { CNT.fetch_sub(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin/c4_membarrier.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.03s
[INFO] [stderr] crater-edition-check: oreilly-concurrent v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking oreilly-concurrent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/fair_lock.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lock(&self, idx: usize) -> FairLockGuard<T> {
[INFO] [stdout]    |                 ^^^^^                 ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lock(&self, idx: usize) -> FairLockGuard<'_, T> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mcs_lock.rs:63:60
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn lock<'a>(&'a self, node: &'a mut MCSNode<T>) -> MCSLockGuard<T> {
[INFO] [stdout]    |                      --              --                    ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |               |
[INFO] [stdout]    |                      |               the lifetime is named here
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn lock<'a>(&'a self, node: &'a mut MCSNode<T>) -> MCSLockGuard<'a, T> {
[INFO] [stdout]    |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/fair_lock.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lock(&self, idx: usize) -> FairLockGuard<T> {
[INFO] [stdout]    |                 ^^^^^                 ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn lock(&self, idx: usize) -> FairLockGuard<'_, T> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mcs_lock.rs:63:60
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn lock<'a>(&'a self, node: &'a mut MCSNode<T>) -> MCSLockGuard<T> {
[INFO] [stdout]    |                      --              --                    ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |               |
[INFO] [stdout]    |                      |               the lifetime is named here
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn lock<'a>(&'a self, node: &'a mut MCSNode<T>) -> MCSLockGuard<'a, T> {
[INFO] [stdout]    |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/c4_membarrier.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn lock(&self) -> SpinLockGuard<T> {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn lock(&self) -> SpinLockGuard<'_, T> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 unsafe { CNT.fetch_add(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 let n = unsafe { CNT.load(Ordering::SeqCst) };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/bin/c3_semaphore.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 unsafe { CNT.fetch_sub(1, Ordering::SeqCst) };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 - static mut CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 12 + static CNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `oreilly-concurrent` (bin "c3_semaphore" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bin/c4_membarrier.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn lock(&self) -> SpinLockGuard<T> {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn lock(&self) -> SpinLockGuard<'_, T> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bin/c5_async_io.rs:147:15
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn accept(&self) -> Accept {
[INFO] [stdout]     |               ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn accept(&self) -> Accept<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bin/c5_async_io.rs:207:18
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn read_line(&mut self) -> ReadLine {
[INFO] [stdout]     |                  ^^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn read_line(&mut self) -> ReadLine<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4fb5301b66c1ecf0f1ee2a8c5a1eecae288f7836541f413bd4aad23192d26449", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fb5301b66c1ecf0f1ee2a8c5a1eecae288f7836541f413bd4aad23192d26449", kill_on_drop: false }`
[INFO] [stdout] 4fb5301b66c1ecf0f1ee2a8c5a1eecae288f7836541f413bd4aad23192d26449
